home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 1810 / 1810.xpi / chrome / showcase.jar / content / settings / pref-tab.xul < prev    next >
Extensible Markup Language  |  2010-01-17  |  6KB  |  105 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!DOCTYPE overlay [
  4. <!ENTITY % dialogDTD SYSTEM "chrome://showcase/locale/pref-showcase.dtd" >
  5. %dialogDTD;
  6. <!ENTITY % tabBrowserDTD SYSTEM "chrome://global/locale/tabbrowser.dtd" >
  7. %tabBrowserDTD;
  8. ]>
  9.  
  10. <overlay id="TabPaneOverlay"
  11.          xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  12.  
  13.   <prefpane id="paneTab" label="&tab.tab;" onpaneload="tabPrefInit();">
  14.     <script type="application/x-javascript" src="pref-tab.js" />
  15.     <preferences>
  16.       <preference id="pref-tabCustomColors" name="extensions.showcase.tabCustomColors" type="bool"/>
  17.       <preference id="pref-tabCustomTitleColor" name="extensions.showcase.tabCustomTitleColor" type="string"/>
  18.       <preference id="pref-tabCustomBackgroundColor" name="extensions.showcase.tabCustomBackgroundColor" type="string"/>
  19.       <preference id="pref-tabCloseWhenBlur" name="extensions.showcase.tabCloseWhenBlur" type="bool"/>
  20.       <preference id="pref-tabCloseWhenSelect" name="extensions.showcase.tabCloseWhenSelect" type="bool"/>
  21.       <preference id="pref-tabCloseWhenZeroThumbnails" name="extensions.showcase.tabCloseWhenZeroThumbnails" type="bool"/>
  22.       <preference id="pref-tabShowTitleStats" name="extensions.showcase.tabShowTitleStats" type="bool"/>
  23.       <preference id="pref-tabScrollType" name="extensions.showcase.tabScrollType" type="int"/>
  24.     <preference id="pref-tabThumbnailPreferredMinimumSize" name="extensions.showcase.tabThumbnailPreferredMinimumSize" type="int"/>
  25.     <preference id="pref-tabShowOnlyCurrentByDefault" name="extensions.showcase.tabShowOnlyCurrentByDefault" type="bool"/>
  26.     <preference id="pref-tabSynchFindBar" name="extensions.showcase.tabSynchFindBar" type="bool"/>
  27.     <preference id="pref-tabColorizeLabel" name="extensions.showcase.tabColorizeLabel" type="bool"/>
  28.       <preference id="pref-tabAlwaysShowScrollbar" name="extensions.showcase.tabAlwaysShowScrollbar" type="bool"/>
  29.     </preferences>
  30.         <groupbox>
  31.         <caption label="&scrolling.caption;"/>
  32.           <hbox align="center">
  33.             <label id="tabScrollTypeLabel" value="&scrollType.label;" control="tabScrollType" />
  34.             <menulist flex="0" id="tabScrollType" preference="pref-tabScrollType" oncommand="tabScrollTypeChanged();">
  35.               <menupopup>
  36.                 <menuitem value="0" label="&scrolling.none;" />
  37.                 <menuitem value="1" label="&scrolling.vertical;" />
  38.                 <menuitem value="2" label="&scrolling.horizontal;" />
  39.               </menupopup>
  40.             </menulist>
  41.             <spacer flex="1" />
  42.           </hbox>
  43.           <hbox align="center" style="margin-left: 2em;">
  44.             <label value="&thumbnailPreferredMinimumSize.label;" id="tabThumbnailPreferredMinimumSizeLabel" flex="0" style="vertical-align: middle;"/>
  45.             <textbox id="tabThumbnailPreferredMinimumSize" size="4" preference="pref-tabThumbnailPreferredMinimumSize" />
  46.             <label value="&pixels.label;" id="tabThumbnailPreferredMinimumSizePixelsLabel" />
  47.             <spacer flex="1" />
  48.           </hbox>
  49.           <vbox align="start" style="margin-left: 2em;">
  50.             <checkbox id="tabAlwaysShowScrollbar" flex="0" label="&alwaysShowScrollbar.label;" preference="pref-tabAlwaysShowScrollbar"/>
  51.           </vbox>
  52.         </groupbox>
  53.         <groupbox>
  54.         <caption label="&options.caption;"/>
  55.           <vbox align="start">
  56.             <checkbox id="tabCustomColors" flex="0" label="&tabCustomColors.label;" preference="pref-tabCustomColors"  oncommand="tabCustomColorsChanged();"/>
  57.           </vbox>
  58.           <hbox style="margin-left: 2em;" flex="1">
  59.             <grid flex="1">
  60.               <columns>
  61.                 <column />
  62.                 <column />
  63.                 <column />
  64.               </columns>
  65.               <rows>
  66.                 <row align="center" flex="1">
  67.                   <label value="&tabCustomTitleColor.label;" id="tabCustomTitleColorLabel"/>
  68.                   <colorpicker type="button" id="tabCustomTitleColor" palettename="standard" preference="pref-tabCustomTitleColor"/>
  69.                   <spacer flex="1" />
  70.                 </row>
  71.                 <row align="center" flex="1">
  72.                   <label value="&tabCustomBackgroundColor.label;" id="tabCustomBackgroundColorLabel"/>
  73.                   <colorpicker type="button" id="tabCustomBackgroundColor" palettename="standard" preference="pref-tabCustomBackgroundColor"/>
  74.                   <spacer flex="1" />
  75.                 </row>
  76.               </rows>
  77.             </grid>
  78.           </hbox>
  79.           <vbox align="start" style="margin-left: 2em;" >
  80.             <checkbox id="tabColorizeLabel" flex="0" label="&tabColorizeLabel.label;" preference="pref-tabColorizeLabel" />
  81.           </vbox>
  82.           <vbox align="start">
  83.             <checkbox id="tabCloseWhenBlur" flex="0" label="&tabCloseWhenBlur.label;" preference="pref-tabCloseWhenBlur" />
  84.           </vbox>
  85.           <vbox align="start">
  86.             <checkbox id="tabCloseWhenSelect" flex="0" label="&tabCloseWhenSelect.label;" preference="pref-tabCloseWhenSelect" />
  87.           </vbox>
  88.           <vbox align="start">
  89.             <checkbox id="tabCloseWhenZeroThumbnails" flex="0" label="&tabCloseWhenZeroThumbnails.label;" preference="pref-tabCloseWhenZeroThumbnails" />
  90.           </vbox>
  91.           <vbox align="start">
  92.             <checkbox id="tabShowTitleStats" flex="0" label="&tabShowTitleStats.label;" preference="pref-tabShowTitleStats" />
  93.           </vbox>
  94.           <vbox align="start">
  95.             <checkbox id="tabShowOnlyCurrentByDefault" flex="0" label="&tabShowOnlyCurrentByDefault.label;" preference="pref-tabShowOnlyCurrentByDefault" />
  96.           </vbox>
  97.           
  98.           <vbox align="start">
  99.             <checkbox id="tabSynchFindBar" flex="0" label="&tabSynchFindBar.label;" preference="pref-tabSynchFindBar" />
  100.           </vbox>
  101.           
  102.         </groupbox>
  103.   </prefpane>
  104.  
  105. </overlay>